package com.starhub.common.bean;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;

import java.io.Serializable;
import java.util.List;

@ApiModel
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class BrowserBean implements Serializable {

    private String value;
    private String title;
    private String color;
    private List<BrowserBean> children;

    public BrowserBean() {

    }

    public BrowserBean(String value, String title) {
        this.value = value;
        this.title = title;
    }

    public BrowserBean(String value, String title, String color) {
        this.value = value;
        this.title = title;
        this.color = color;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public List<BrowserBean> getChildren() {
        return children;
    }

    public void setChildren(List<BrowserBean> children) {
        this.children = children;
    }
}
